package com.beiben.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目组成员对象 pm_project_team
 * 
 * @author 熊国强
 * @date 2020-12-11
 */
public class ProjectTeam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long teamId;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 人员ID */
    @Excel(name = "人员ID")
    private Long userId;

    /** 人员ID */
    private Long[] userIds;

    /** 人员姓名 */
    private String nickName;

    /** 人员角色 */

    private String teamRole;

    @Excel(name = "人员角色")
    private String roleName;

    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTeamRole(String teamRole) 
    {
        this.teamRole = teamRole;
    }

    public String getTeamRole() 
    {
        return teamRole;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long[] getUserIds() {
        return userIds;
    }

    public void setUserIds(Long[] userIds) {
        this.userIds = userIds;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teamId", getTeamId())
            .append("projectId", getProjectId())
            .append("userId", getUserId())
            .append("teamRole", getTeamRole())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
